Skip to content

[ModelicaSystem] use items() if possible#360

Merged
adeas31 merged 2 commits intoOpenModelica:masterfrom
syntron:use_items
Nov 4, 2025
Merged

[ModelicaSystem] use items() if possible#360
adeas31 merged 2 commits intoOpenModelica:masterfrom
syntron:use_items

Conversation

@syntron
Copy link
Contributor

@syntron syntron commented Oct 30, 2025

using items() for dictionaries one gets the key as well as the value directly from the loop definition

based on pylint hint

Milestone 4.1.0

@adeas31 adeas31 enabled auto-merge (squash) November 4, 2025 16:06
@adeas31 adeas31 merged commit 7620bcc into OpenModelica:master Nov 4, 2025
14 checks passed
@syntron syntron deleted the use_items branch November 4, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants